/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import java.util.concurrent.ConcurrentHashMap;
/*    */ import java.util.regex.Pattern;
/*    */ import net.minecraft.item.ItemStack;
/*    */ import org.yaml.snakeyamla.configuration.ConfigurationSection;
/*    */ 
/*    */ 
/*    */ 
/*    */ public class mfa
/*    */ {
/* 12 */   public static ConcurrentHashMap<String, eos/moe/dragoncore/kja> g = new ConcurrentHashMap<>();
/*    */   
/*    */   public static eos/moe/dragoncore/kja v(ItemStack a) {
/* 15 */     if (a.func_190926_b()) return null; 
/* 16 */     String str = ve.v(a, false, false);
/*    */     
/* 18 */     for (eos/moe/dragoncore/kja eos/moe/dragoncore/kja : g.values()) {
/* 19 */       if (ja.v(eos/moe/dragoncore/kja.v(eos/moe/dragoncore/kja), str)) {
/* 20 */         return eos/moe/dragoncore/kja;
/*    */       }
/*    */     } 
/*    */     
/* 24 */     return null;
/*    */   }
/*    */   
/*    */   public static class eos/moe/dragoncore/kja {
/*    */     private Pattern d;
/*    */     private String z;
/*    */     private String i;
/*    */     private String w;
/*    */     private String q;
/*    */     private boolean g;
/*    */     
/*    */     public eos/moe/dragoncore/kja(ConfigurationSection configurationSection) {
/* 36 */       this.d = Pattern.compile(configurationSection.getString("match", "unknown").replace("&", "§"));
/* 37 */       String str = configurationSection.getString("texture", "unknown");
/* 38 */       this.z = "dragoncore:armor/" + configurationSection.getString("layer1", str + "_layer_1.png");
/* 39 */       this.i = "dragoncore:armor/" + configurationSection.getString("layer2", str + "_layer_2.png");
/*    */       
/* 41 */       if (configurationSection.contains("glowLayer1")) {
/* 42 */         this.w = "dragoncore:armor/" + configurationSection.getString("glowLayer1");
/*    */       }
/* 44 */       if (configurationSection.contains("glowLayer2")) {
/* 45 */         this.q = "dragoncore:armor/" + configurationSection.getString("glowLayer2");
/*    */       }
/* 47 */       this.g = configurationSection.getBoolean("glow", false);
/*    */     }
/*    */     
/*    */     public Pattern v() {
/* 51 */       return this.d;
/*    */     }
/*    */     
/*    */     public String t() {
/* 55 */       return this.z;
/*    */     }
/*    */     
/*    */     public String h() {
/* 59 */       return this.i;
/*    */     }
/*    */     
/*    */     public String z() {
/* 63 */       return this.w;
/*    */     }
/*    */     
/*    */     public String v() {
/* 67 */       return this.q;
/*    */     }
/*    */     
/*    */     public boolean v() {
/* 71 */       return this.g;
/*    */     }
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\mfa.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */